package org.gl.rtsp;

import java.io.IOException;
import java.nio.channels.SelectionKey;

/** */
/**
 * 
 * @version 1.0
 */
public interface IEvent {
	/** */
	/**
	 * 
	 * @param key
	 * @throws IOException
	 */
	void connect(SelectionKey key) throws IOException;

	/** */
	/**
	 * 
	 * @param key
	 * @throws IOException
	 */
	void read(SelectionKey key) throws IOException;

	/** */
	/**
	 * 
	 * @throws IOException
	 */
	void write() throws IOException;

	/** */
	/**
	 * 
	 * @param e
	 */
	void error(Exception e);
}
